<?
	$ls_options = array(''=>'Select Status','active'=>'Active','inactive'=>'Inactive');
	$lc_options = array( ''=>'Select Category',
		'k12 Category' => array(
			'ece'=>'ECE: Preschool, Grades 1-2',
			'upperschool'=>'Upper School: Grades 3, 4, 5',
			'middleschool'=>'Middle School: Grades 6, 7, 8',
			'highschool'=>'High School: Grades 9, 10, 11, 12',
		),
		'Other Category'=>array(
			'gradeschool'=>'Grade School',
			'highschool'=>'High School'
		));
?>
<div class="row">
<?if(isset($system_message))echo $system_message;
echo validation_errors('<div class="alert alert-error">', '</div>');
?>
</div>
<?echo form_open('');?>

<div class="row">
	<div class="large-8 columns">
		<label>Level Code</label>
		<input type="text" value="<?=set_value('level_code');?>" name="level_code">
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level Description</label>
		<input type="text" value="<?=set_value('level_desc');?>" name="level_desc">
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level ID Code <span class="iinfo">(will be used in generation of ID)</span></label>
		<input type="text" value="<?=set_value('level_id_code');?>" name="level_id_code">
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level Status</label>
		<?echo form_dropdown('level_stat',$ls_options,set_value('level_stat'));?>
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level Category</label>
		<?echo form_dropdown('level_cat',$lc_options,set_value('level_cat'));?>
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<?
			echo form_submit('add_grade_level','Add Level','class="button tiny"');
			echo form_close();
		?>
	</div>
</div>